package springboot.springboot06_ssmp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import springboot.springboot06_ssmp.entity.Menu;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author daiqiang
 * @since 2024-06-20
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    public List<Menu>  getMenuListByUserID(@Param("userId")Integer id,@Param("parentId")Integer parentId);

}
